import { Pie, mixins } from 'vue-chartjs'
const { reactiveProp } = mixins

export default Pie.extend({
  name: 'pie',
  mixins: [reactiveProp],
  props: ['options', 'width'],
  mounted () {
    this.renderChart(this.chartData, this.options) // this.chartData在mixins中解决
  }
})
